package com.springtest.demo.dao;

import java.util.List;

import com.springtest.demo.model.ResultEntity;
import com.springtest.demo.model.Teacher;

public interface TeacherDao {

	public int save(Teacher t);
	
	public Teacher update(Teacher t);
	
	public Teacher delete(Teacher t);
	
	public ResultEntity delete(int id);
	
	public Teacher findById(int id);
	
	public List<Teacher> findAll();
}
